   <ul class="layui-nav layui-nav-tree"  lay-filter="menu">
      
        {if condition="($Think.session.admin.adminid eq '1') or (administrator eq '麻雀cms')"}
        <li class="layui-nav-item">

          <a href="{:Url('index/ecscharts')}" target="iframe">
            <i class="layui-icon">&#xe68e;</i>  数据统计
          </a>
        </li>
        
        <li class="layui-nav-item">
          <a href="javascript:;">
            <i class="layui-icon">&#xe634;</i>  轮播管理
          </a>
          <dl class="layui-nav-child">
            <dd><a href="{:Url('banner/lists')}" target="iframe">轮播列表</a></dd>
            <dd><a href="{:Url('banner/add')}" target="iframe">轮播添加</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item">
          <a href="javascript:;">
            <i class="layui-icon">&#xe62a;</i>  新闻管理
          </a>
          <dl class="layui-nav-child">
            <dd><a href="{:Url('news/newslist')}" target="iframe">新闻列表</a></dd>
            <dd><a href="{:Url('news/catelist')}" target="iframe">分类管理</a></dd>
            <dd><a href="{:Url('news/modellist')}" target="iframe">模型管理</a></dd>
            <dd><a href="{:Url('news/authorlist')}" target="iframe">作者管理</a></dd>
            <dd><a href="{:Url('news/comment')}" target="iframe">评论管理</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item">
          <a href="javascript:;">
            <i class="layui-icon">&#xe770;</i>  用户管理
          </a>
          <dl class="layui-nav-child">
            <dd><a href="{:Url('user/lists')}" target="iframe">用户列表</a></dd>
            <!-- <dd><a href="');{:Url('news/newsadd')}">添加新闻</a></dd> -->
          </dl>
        </li>
        <li class="layui-nav-item">
          <a href="{:Url('msg/lists')}" target="iframe">
            <i class="layui-icon">&#xe63c;</i>  留言管理
          </a>
        </li>
        <li class="layui-nav-item">
          <a href="javascript:;">
            <i class="layui-icon">&#xe64c;</i>  友情链接
          </a>
          <dl class="layui-nav-child">
            <dd><a href="{:Url('link/lists')}" target="iframe">链接列表</a></dd>
            <dd><a href="{:Url('link/add')}" target="iframe">链接添加</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item">
          <a href="javascript:;">
            <i class="layui-icon">&#xe716;</i>  站点管理
          </a>
          <dl class="layui-nav-child">
            
            <dd><a href="{:Url('site/index')}" target="iframe">网站信息</a></dd>
            <dd><a href="{:Url('site/water')}" target="iframe">水印设置</a></dd>
            <dd><a href="{:Url('site/upload')}" target="iframe">上传设置</a></dd>
            <dd><a href="{:Url('site/template')}" target="iframe">模板选择</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item">
          <a href="javascript:;">
            <i class="layui-icon">&#xe613;</i>  权限管理
          </a>
          <dl class="layui-nav-child">
            <dd><a href="{:Url('auth/adminlist')}" target="iframe">管理员列表</a></dd>
            <dd><a href="{:Url('auth/rolelist')}" target="iframe">角色列表</a></dd>
            <dd><a href="{:Url('auth/actionlist')}" target="iframe">权限列表</a></dd>
            <dd><a href="{:Url('auth/loglist')}" target="iframe">操作日志</a></dd>
            <dd><a href="{:Url('auth/modifypd')}" target="iframe">修改密码</a></dd>
          </dl>
        </li>
        <!-- <li class="layui-nav-item">
          <a href="javascript:;">
            <i class="layui-icon">&#xe613;</i>  其他工具
          </a>
          <dl class="layui-nav-child">
            <dd><a href="{:Url('tool/addcurl')}" target="iframe">一键CURL</a></dd>
            <dd><a href="{:Url('auth/rolelist')}" target="iframe">角色列表</a></dd>
            <dd><a href="{:Url('auth/actionlist')}" target="iframe">权限列表</a></dd>
            <dd><a href="{:Url('auth/loglist')}" target="iframe">操作日志</a></dd>
            <dd><a href="{:Url('auth/modifypd')}" target="iframe">修改密码</a></dd>
          </dl>
        </li> -->
        <li class="layui-nav-item ">
          <a href="javascript:FormAjax('{:url('index/delcache')}')" target="iframe">
            <i class="layui-icon">&#xe60b;</i>  清空缓存
          </a>
        </li>
        <li class="layui-nav-item ">
          <a href="{:url('index/serveradd')}" target="iframe">
            <i class="layui-icon">&#xe631;</i>  服务器信息
          </a>
        </li>
      {else/}
      {:RoleMenu()}
      {/if}


        <li class="layui-nav-item ">
          <a href="{:url('login/loginout')}" target="iframe">
            <i class="layui-icon">&#xe60f;</i>  退出登录
          </a>
        </li>
      </ul>